package com.lfz.quality_effect.utils;

public enum ReturnCode {
    RC200(200, "操作成功"),
    RC500(500, "操作失败"),

    RC10000(10000,"请填写所属法院"),
    RC10001(10001,"缺少数据日期"),
    RC10002(10002,"数据日期格式错误，应为yyyyMMdd/yyyy年MM月dd日/yyyy-MM-dd"),
    RC10003(10003,"数据不一致");
    // 自定义状态码
    private final int code;

    // 自定义描述
    private final String msg;

    ReturnCode(int code, String msg){
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
